enshrined\svgSanitize\Sanitizer B

Total Complexity 84
Dependencies 13
Dependents 1
Total lines 709
Lines of code 311
Logical lines of code 155
Comment lines 276
Methods 32
Properties 14

Methods 32

Method Rating Maintainability Complexity Lines of code
startClean()
A
41 14 59
cleanAttributesOnWhitelist()
A
48 10 31
isHrefSafeValue()
A
48 8 36
sanitize()
A
49 7 31
cleanUnsafeNodes()
S
54 7 19
isUseTagExceedingThreshold()
S
58 5 17
isUseTagDirty()
S
74 2 4
hasRemoteReference()
S
65 2 9
cleanHrefs()
S
64 2 10
cleanXlinkHrefs()
S
63 2 10
resetAfter()
S
69 2 7
setUpBefore()
S
68 2 7
getXmlErrors()
S
64 2 10
setAllowHugeFiles()
S
81 1 3
removeXMLTag()
S
80 1 3
setXMLOptions()
S
81 1 3
setUseNestingLimit()
S
80 1 3
getXMLOptions()
S
82 1 3
getAllowedTags()
S
82 1 3
isDataAttribute()
S
78 1 3
isAriaAttribute()
S
78 1 3
useThreshold()
S
80 1 3
minify()
S
80 1 3
getAllowHugeFiles()
S
82 1 3
setAllowedTags()
S
79 1 3
removeNonPrintableCharacters()
S
78 1 3
getAllowedAttrs()
S
82 1 3
setAllowedAttrs()
S
79 1 3
removeRemoteReferences()
S
81 1 3
resetInternal()
S
70 1 6
getXmlIssues()
S
82 1 3
__construct()
S
75 1 4